package cn.hs.service;

import cn.hs.entity.Appointment;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @ClassName AppointmentService
 * @Description TODO
 * @Author CnYuu
 * @Date 2024年10月24日 11:08
 * @Version 1.0
 */
public interface AppointmentService {
    PageInfo<Appointment> selectAll(Integer pageNum, Integer pageSize);
    Appointment selectById(Appointment appointment);
    int  insert(Appointment appointment);
    int delete(Appointment appointment);
    int update(Appointment appointment);
    int updateReply(Appointment appointment);
    List<Appointment> selectByConsultId(Integer consultId);
    List<Appointment> selectByUserId(Integer userId);
}
